{include file='../../../PublicView/include.html'}
<script src="/assets/shopmanage/page_customs.js"></script> 
<div class="taeapp admin-table" cellpadding="0" cellspacing="0" border="0">
        <div class="taeapp admin-table-side  tips tips-small tips-notice tips-no-icon">
            <!--菜单部分-->
            <div class="taeapp admin-nav">
			{include file='../../../PublicView/left.html'}
			</div>
            <!--菜单部分-->
        </div>
        <div class="taeapp admin-table-main">
            <!--内容部分-->
				<ul class="breadcrumb">
					<li><a href="#">VIP大奖站</a> <span class="divider">/</span></li>
					<li><a href="#">登记店铺</a> <span class="divider">/</span></li>
					<li class="active">店铺信息</li>
					<li class="pull-right"><a href="http://fuwu.taobao.com/ser/detail.htm?service_code=ts-30901" target="_blank">抽奖</a> </li>
					<li class="pull-right"><a href="http://fuwu.taobao.com/ser/detail.htm?service_code=FW_GOODS-1840332" target="_blank">打折</a><span class="divider">|</span></li>
				</ul>
		{include file='../../../PublicView/showmessage.html'}
			<!--内容部分-->
<div class="row">
  <div class=" span21 doc-content">
	<div class="tab-nav-wrapper">
		<div class="tab-nav-inner">
			
		</div>
	</div>
    <table cellspacing="0" class="table table-bordered">
      <thead>
        <tr><th colspan="7">
        <ul class="toolbar">
          <!-- <li><label class="checkbox"><input type="checkbox"><a href="#">全选</a></label></li> -->
          <li><a class="button button-success" href="/?a=customs&m=Shopmanage&c=page&code=ts-30901">订单抽大奖</a></li>
          <li><a class="button button-inverse" href="/?a=customs&m=Shopmanage&c=page&code=FW_GOODS-1840332">互动折扣</a></li>
          <li class="pull-right"><a href="/?m=Shopmanage&c=Page&a=loadorders" class="button button-danger ">手动导入</a></li>
        </ul>
        </th>
		</tr>
        <tr>
          <th>软件名称</th>
          <th>订购时间</th>
          <th>备注</th>
		  <th>时长</th>
		  <th>付费</th>
        </tr>
      </thead>
      <tbody class='tbodya'>
{foreach from=$data item=item key=key}
	<tr class="tr{$item.id}" data-sid="{$item.sid}">
		<td>{$item.article_name|truncate:20}<br />{$item.article_item_name}</td>
		<td>{$item.create_time}<br />
		<a  target="_blank" href="http://shop{$item.sid}.taobao.com">{$item.nick}</a>
		<a target="_blank" href="http://amos.alicdn.com/msg.aw?v=2&uid={$item.nick_encode}&site=cnalichn&s=10&charset=UTF-8" ><img border="0" src="http://amos.alicdn.com/online.aw?v=2&uid={$item.nick_encode}&site=cnalichn&s=10&charset=UTF-8" alt="点击这里给我发消息" /></a>
		{if $item.front_pic_url}<a href="{$item.front_pic_url}" target="_blank"><img src="{$item.front_pic_url}_80x80.jpg" /></a>{/if}
		</td>
		<td><span class="ext{$item.sid}">{$item.extend|default:""}</span><button data-ext="{$item.extend|default:""}" data-sid="{$item.sid}" class="button button-mini button-primary js-beizhu"><i class="icon icon-white icon-pencil"></i></button></td>
		<td>{$item.order_cycle}</td>
		<td>{$item.total_pay_fee/100}</td>
	</tr>
	{/foreach}

      </tbody>
    </table>

    <div>
      <div class="pagination pull-right" data-totalpg="{$totalpg}" data-curpg="{$curpg}" data-action="{$current}">
         {$page} 
      </div>
    </div>
</div>
<!-- script end -->
  </div>
        <!--内容部分-->
</div>
</div>